package com.fgr.service;

import com.fgr.beans.Adapter;
import com.fgr.beans.Animal;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface AnimalService {
    public List<Animal> selectAllAnimal();
    public List<Animal> selectAnimalByTypeId(Integer type_id);
    public List<Animal> selectAnimalByTypeIdAndStat(Integer type_id,Integer anStat);
    public Animal selectAnimalById(Integer id);
    public String insertAdapter(Animal animal);
    public String updateAnimalStat(Integer anId);
    public String updateAnimal(Animal animal);
    public String deleteAdapter(Integer an_id);
    public String deleteAnimalByTypeId(Integer type_id);



}
